export function useCopy() {
    const copy = (text: string) => {
        uni.setClipboardData({
            data: String(text),
            success: function (res) {
                console.log('复制成功', res);
            },
            fail: function (err) {
                console.log('复制失败', err);
            },
        })
    }
    return {
        copy
    }
}
